<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:85:"/Applications/MAMP/htdocs/wifi/public/../application/admin/view/device/adddevice.html";i:1531984051;s:78:"/Applications/MAMP/htdocs/wifi/application/admin/view/common/login-layout.html";i:1531800487;s:72:"/Applications/MAMP/htdocs/wifi/application/admin/view/common/header.html";i:1531800487;s:72:"/Applications/MAMP/htdocs/wifi/application/admin/view/common/footer.html";i:1531800487;}*/ ?>
﻿<!DOCTYPE HTML>
<html>
    <head>
        <title><?=$seo['title']?$seo['title']:config('SITE_NAME')?></title>
        <meta charset="UTF-8">
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link href="/static/hui/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
        <link href="/static/hui/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
        <link href="/static/hui/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
        <link href="/static/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="/static/lib/jquery/1.9.1/jquery.min.js"></script> 
        <script type="text/javascript" src="/static/lib/layDate-v5.0.9/laydate/laydate.js"></script> 
        <link rel="Bookmark" href="<?=config('site_logo')?>" >
        <link rel="Shortcut Icon" href="<?=config('site_logo')?>" />
        <!--[if lt IE 9]>
        <script type="text/javascript" src="/lib/html5.js"></script>
        <script type="text/javascript" src="/lib/respond.min.js"></script>
        <![endif]-->
        <link rel="stylesheet" type="text/css" href="/static/hui/h-ui.admin/css/H-ui.admin.css" />
        <link rel="stylesheet" type="text/css" href="/static/hui/h-ui.admin/skin/default/skin.css" id="skin" />
        <!--[if IE 6]>
        <script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
        <script>DD_belatedPNG.fix('*');</script>
        <![endif]-->
        <!--/meta 作为公共模版分离出去-->
    </head>
    <body>



 <article class="cl pd-20">
    <form action="" method="post" class="form form-horizontal" id="form">
   
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>设备ID</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['device_id']; ?>" placeholder="" name="device_id">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>设备KEY</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['device_key']; ?>" placeholder="" name="device_key">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>选择绑定的公众号</label>
            <div class="formControls col-xs-10 col-sm-10">
                <span class="select-box">
                    <select class="select" size="1" name="appid">
                        <option value="">--默认--</option>
                        <?php foreach($wechat as $k=>$v){ ?>
                        <option <?php echo $data['appid']==$v['appid']?'selected':'';?> value="<?php echo $v['appid']; ?>"><?php echo $v['wechat_name']; ?></option>
                        <?php }; ?>
                    </select>
                </span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-2 col-sm-2"><span class="c-red"></span>备注</label>
            <div class="formControls col-xs-10 col-sm-10">
                <input type="text" class="input-text" value="<?php echo $data['note']; ?>" placeholder="" name="note">
                <span></span>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-10 col-sm-10 col-xs-offset-2 col-sm-offset-2">
                <a onclick="PageFormSubmit()" class="btn btn-primary radius" >&nbsp;&nbsp;提交&nbsp;&nbsp;</a>
            </div>
        </div>
    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/static/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/static/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/hui/h-ui/js/H-ui.js"></script> 
<script type="text/javascript" src="/static/hui/h-ui.admin/js/H-ui.admin.page.js"></script> 
<script type="text/javascript" src="/static/common.js"></script> 
</body>
</html>